function ChangeHeadImg() {
	InitFileInputDOM(document.body, function() {
		Pick(function(resource) {
			Upload(resource, function(data) {
				console.log('[INFO]UPLOAD: Upload to ' + data["loc"]);
				CallAJAX('updateHeadImg', {
					'userHash': plus.storage.getItem("userHash"),
					'uHeadImgLoc': data["loc"]
				}, function(data2) {
					RefreshUserInfo(function(phoneNo) {
						drawPage();
					});
					console.log("Update head image done.");
				}, function error() {
					console.log("Update head image failed.");
				});
			});
		});
	});
}